{% extends "message.html" %}

{% load i18n %}

{% block tags %}info{% endblock %}

{% block message %}
  {% if payment_enabled and not user_billings %}
    <a class="btn btn-primary float-end btn-spaced" href="{% url 'trial' %}">{% translate "Gratis trial for commercial hosting" %}</a>
    <a class="btn btn-primary float-end btn-spaced" href="{% url 'hosting' %}">{% translate "Ask for Libre hosting" %}</a>
    {% translate "This might be caused by missing subscription." %}
  {% else %}
    <a class="btn btn-primary float-end" href="{% url 'billing' %}">{% translate "Check your billing status" %}</a>
    {% translate "This might be caused by some of your billings are past due date or over limits." %}
  {% endif %}
{% endblock message %}
